package com.bluegalaxy.sitescore.service.impl;

import org.springframework.stereotype.Service;

import com.bluegalaxy.sitescore.mapper.HatProvinceMapper;
import com.bluegalaxy.sitescore.entity.HatProvince;
import com.bluegalaxy.sitescore.service.IHatProvinceService;
import com.bluegalaxy.sitescore.service.support.BaseServiceImpl;

/**
 *
 * HatProvince 表数据服务层接口实现类
 *
 */
@Service
public class HatProvinceServiceImpl extends BaseServiceImpl<HatProvinceMapper, HatProvince> implements IHatProvinceService {

    @Override
    public String getProvinceService(Integer provinceId)
    {
        HatProvince province=new  HatProvince();
        province.setProvinceID(provinceId.toString());
        return  baseMapper.selectOne(province).getProvince();
    }
}